package main
import "fmt"

func compute(fn func(a,b int) int) int {
	return fn(123,456)
}

func add(x,y int) int {
	return x+y
}

func minus(x,y int) int {
	return x-y
}

func main() {
	fmt.Println(compute(add))
	fmt.Println(compute(minus))
}
